package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 零钱对象 loosechange
 * 
 * @author ruoyi
 * @date 2023-12-04
 */
public class Loosechange extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 零钱id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 剩余零钱 */
    @Excel(name = "剩余零钱")
    private Long looseChange;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String card;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setLooseChange(Long looseChange) 
    {
        this.looseChange = looseChange;
    }

    public Long getLooseChange() 
    {
        return looseChange;
    }
    public void setCard(String card) 
    {
        this.card = card;
    }

    public String getCard() 
    {
        return card;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("looseChange", getLooseChange())
            .append("card", getCard())
            .toString();
    }
}
